TypeScript Discriminated Unions: Aufbau typsicherer Zustandsautomaten | MLOG | MLOG